<!-- Copyright 2010 John L. Reilly

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.   -->

<%@ page import="java.util.List"%>
<%@ page import="com.riq.entity.Department"%>
<%@ page import="com.riq.entity.Status"%>

<%@ page import="java.util.logging.Logger"%>
<%@ page import="java.io.IOException"%>
<%@ page import="javax.servlet.*"%>

<%
  Status s = (Status) request.getAttribute("status");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>FirstResponder</title>

<!--META-->
<meta http-equiv="content-type"  content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width" />

<!--STYLESHEET-->
<link rel="stylesheet" type="text/css" href="stylesheets/static.css" />
</head>

<body>
<!--FIXED HEADERS-->
<div class="headwrap">
<div class="hBlack">
<div class="headerLeftTop">FirstResponder</div>
<div class="headerRightTop">ver 0.9</div>
<div class="headerLeftBottom">Status: Display</div>
<div class="headerRightBottom">12:34 PM</div>
</div>
<div class="hGray">
  <a class="buttonGrayHdr" href="mainMenu.html">Main</a>
  <a class="buttonGrayHdr" href="commandMenu.html">Command</a>
  <a class="buttonGrayHdr gSelected" href="department?action=display">Admin</a>
</div>
<div class="headerMist"></div>
</div>

<div class="outwrap">
<div class="headerPlug"></div>

<!--BUTTONS-->

<div id="centeredButtons"><ul><li>
<a class="button blue wide tall first" 
href="department?action=display">Back</a>
</li></ul></div>

<div id="centeredButtons"><ul><li>
<a class="button green narrow tall" 
href="status?action=edit&statusId=<%=s.getid().toString()%>">Edit</a>
</li><li>
<a class="button red narrow tall last" style="margin-bottom: 10px"
href="status?action=delete&statusId=<%=s.getid().toString()%>">Delete</a>
</li></ul></div>

<div class="sub black">Status Details</div>

<div class="row title">Short Name: </div>
<div class="row" style="clear: none"><%=s.getshortName()%></div>
<div class="row title">Long Name: </div>
<div class="row" style="clear: none"><%=s.getlongName()%></div>
<div class="row title">Status Type: </div>
<div class="row" style="clear: none"><%=s.gettype()%></div>

<!--FOOTER-->
<div class="footer">FirstResponder</div>

<!--OUTLINE WRAPPER -->
</div> 

</body>
</html>
